Alarms > Alarms Overview > Alarm Calculation Types > Default Alarm Calculation

Default Alarm Calculations

There are several default calculation types that are associated with point types and are included in the CygNet Standard Point Scheme.

For more information, see Alarm Calculation Types.

See the following subsections for details:

Note: The Calculation Parameters are user-provided.

Deviation Value

The Deviation alarm uses the Deviation Value (DEVIATION_VAL) calculation. On each update, the system calculates the change in engineering units from the previous value and sets the alarm bit if the change equals or exceeds the threshold. This alarm calculation uses Calculation Parameter 1 only.

The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled High Deviation calculation.

Deviation Value

Calculation Parameter

Equation

Deviation Value = fabs(Updated Value - Previous Value)

Example

In this example, the High Deviation bit is set because the absolute change in value (-79.052) is greater than the calcparm value of 25.

fabs(212.841 -285.893) = -79.052

High Deviation status bit

Back to top

Digital Value Equal

The Digital alarm uses the Digital Value Equal (DIGITAL_EQUAL) calculation. On each update, if the value matches the state selected by the user, then the alarm bit is set, otherwise it is cleared. This alarm calculation uses Calculation Parameter 1 only.

The following image shows the area of a Digital Alarm Settings page of a PNT Editor with an enabled Digital Alarm calculation.

Digital Alarm

Calculation Parameter

Example

In this example, the Digital Alarm bit is set because the updated state matches the calcparm state (N).

Digital Alarm status bit

Back to top

Maximum Value

The High Alarm and High Warning alarms use the Maximum Value (MAX_VALUE) calculation. On each update, the system will check the value and set the alarm bit if it is equal to or more than the threshold. This alarm calculation uses Calculation Parameter 1 only.

The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled High Alarm calculation.

High Alarm

Calculation Parameter

Example

In this example, the High Alarm bit is set because the updated value (165.1762) exceeds the calcparm1 value (150).

High Alarm status bit

Back to top

Minimum Value

The Low Alarm and Low Warning alarms use the Minimum Value (MIN_VALUE) calculation. On each update, the system will check the value and set the alarm bit if it is less than or equal to the setpoint value. This alarm calculation uses Calculation Parameter 1 only.

The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled Low Warning calculation.

Low Warning

Calculation Parameter

Example

In this example, the Low Warning bit is set because the updated value (11.84) is less than the calcparm1 value (12).

Low Warning status bit

Back to top

String Filter

The String Alarm has two calculation options: String Filter case-insensitive (STRING_VAL_CI) and String Filter case-sensitive (STRING_VAL_CS). On each update, if the new value matches the calcparm1 comparison string (without regards to case for case-insensitive, and with regards to case for case-sensitive) the alarm bit is set, otherwise it is cleared. This calculation supports wildcards. This alarm calculation uses Calculation Parameter 1 only.

The following image shows the area of a String Alarm Settings page of a PNT Editor with an enabled String Filter (case-insensitive) calculation.

String Alarm

Calculation Parameter

Example

In this example for a STRING_VAL_CI calculation, the String Alarm bit is set because the updated value (Exception) matches the calcparm1 value (regardless of case).

String Alarm status bit

Back to top

Value Range

The various Out-of-Range alarms use the Value Range (VALUE_RANGE) calculation. On each update, the system will check the value and set the alarm bit if it is outside the allowed range.

The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled Out-of-Range calculation.

Out-of-Range Alarm

Calculation Parameter

Example

In this example, the Out-of-Range bit is set because the updated value (2) is outside the range defined by calparm1 and calcparm2.

Out-of-Range status bit

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.